package com.ken.forum.services;

import com.ken.forum.model.Message;

import java.util.List;

public interface IMessageService {
    void create(Message message);

    Long selectUnreadCount(Long userId);

    List<Message> selectByReceiveUserId(Long id);

    void updateStateById(Long id, Byte state);

    Message selectById(Long id);

    void reply(Long repliedId, Message message);
}
